package com.melodyframe.common.context;

import java.util.HashMap;
import java.util.Map;

public class HashContext implements ScopeContext {

	private Map<String, Object>	contextMap;

	public HashContext() {
		this.contextMap = new HashMap<String, Object>();
	}

	@Override
	public boolean containsKey(Object key) {
		return contextMap.containsKey(key);
	}

	@Override
	public Object get(Object key) {
		return contextMap.get(key);
	}

	@Override
	public Object put(String key, Object value) {
		return contextMap.put(key, value);
	}

}
